package com.woniu.order.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付流水记录表
 * </p>
 *
 * @author Lucas
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lg_order_flowing")
public class OrderFlowing implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 流水id
     */
    @TableId(value = "flowing_id", type = IdType.AUTO)
    private Integer flowingId;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * ENTER 进 | OUT 出
     */
    private String flowingType;

    /**
     * 订单总价
     */
    private BigDecimal orderPrice;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 津贴id
     */
    private Integer allowanceId;


}
